package cn.edu.jsu.zjj.model.entity;

import cn.zhxu.bs.bean.SearchBean;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@ApiModel(description = "用户职称")
@Data
@SearchBean(
        tables = "sys_user_title"
)
@TableName("sys_user_title")
public class UserTitle {
    @ApiModelProperty(value = "用户职称ID", example = "1")
    private Long id;
    @ApiModelProperty(value = "用户ID", example = "1")
    private Long userId;
    @ApiModelProperty(value = "职称名称", example = "教授")
    private String title = "";
    @ApiModelProperty(value = "获得时间", example = "2023-06-01")
    private LocalDateTime obtainDate = null;
    @ApiModelProperty(value = "文件url", example = "http://localhost:8080/file/1.pdf")
    private String fileUrl = "";
    @ApiModelProperty(value = "是否删除", example = "0")
    private Integer isDeleted;
    @ApiModelProperty(value = "创建时间", example = "2023-06-01 12:00:00")
    private LocalDateTime createTime;

}
